Generate or edit an image with FLUX.2 [klein] 4B
Submits an image generation or editing task with FLUX.2 [klein] 4B. The fastest, most lightweight FLUX.2 model, with open weights that run on consumer GPUs.
Authorizations
Body
Input model for FLUX.2 Klein (non-base) - like Pro but max 4 images.
Text prompt for image generation.
"ein fantastisches bild"
Opaque identifier for the end user supplied by the calling platform.
1 - 256Path to the input image.
Path to the second input image.
Path to the third input image.
Path to the fourth input image.
Optional seed for reproducibility.
42
Width of the image
x >= 64Height of the image
x >= 64Harm moderation tolerance from 0 to 7, with 0 the strictest. The route and organization determine the approved maximum and per-category ceilings. Unapproved levels return 422 with approved levels.
0 <= x <= 7jpeg, png, webp URL to receive webhook notifications
1 - 2083Optional secret for webhook signature verification

